#include "SpaceClass.h"

SpaceClass::SpaceClass()
{
}

string SpaceClass::getName()
{
  return name;
}

PropertyClass::PropertyClass()
{
}

PlayerClass* PropertyClass::getOwner()
{
  return owner;
}

////////////////////////////////  ESTATE  /////////////////////////////////////
EstateClass::EstateClass()
{
}

EstateClass::EstateClass(string nameVal, int costVal, int colorVal,
               int rent, int r1, int r2, int r3, int r4,
               int rHotel, int costHouse) 
{
  name = nameVal;
  owner = NULL;
  mortgaged = false;
  numHouses = 0;
  numHotels = 0;
  name = nameVal;
  cost = costVal;
  mortgage = cost/2;
  color = colorVal;
  rentBase = rent;
  rentMonopoly = rentBase*2;
  rent1 = r1;
  rent2 = r2;
  rent3 = r3;
  rent4 = r4;
  rentHotel = rHotel;
  houseCost = costHouse;
  
}



////////////////////////////////  RAILROAD  ///////////////////////////////////
RailRoadClass::RailRoadClass()
{
}

RailRoadClass::RailRoadClass(string nameVal)
{
  owner = NULL;
  rent = 25;
  cost = 200;
  mortgage = 100;
  name = nameVal;
}

////////////////////////////////  UTILITY  ////////////////////////////////////
UtilityClass::UtilityClass()
{
}
UtilityClass::UtilityClass(string nameVal)
{
  name = nameVal;
  owner = NULL;
  cost = 150;
  mortgage = 75;
}

////////////////////////////////  JAIL  ///////////////////////////////////////
JailClass::JailClass()
{
}

GoToJailClass::GoToJailClass()
{
}

///////////////////////////////  FREE PARKING  ////////////////////////////////
FreeParkingClass::FreeParkingClass()
{
}
FreeParkingClass::FreeParkingClass(bool freeParking)
{
  name = "Free Parking";
  lottery = freeParking;
}

///////////////////////////////  GO  //////////////////////////////////////////
GoClass::GoClass(string nameVal)
{
  name = nameVal;
}

///////////////////////////////  COMM CHEST  //////////////////////////////////
CommChestClass::CommChestClass()
{
  name = "Community Chest";
}

///////////////////////////////  CHANCE  //////////////////////////////////////
ChanceClass::ChanceClass()
{
  name = "Chance";
}

///////////////////////////////  TAX  /////////////////////////////////////////
IncomeTaxClass::IncomeTaxClass()
{
  name = "Income Tax";
  tax = 200;
}

LuxuryTaxClass::LuxuryTaxClass()
{
  name = "Luxury Tax";
  tax = 75;
}

